package com.ict.dao;

import com.ict.model.Summary;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SummaryDao {

    List<Summary> getLastSummaryByNum(@Param("insertTime") Double insertTime, @Param("packageType") Short packageType, @Param("num") Long num);

    Integer getSummaryCount(@Param("insertTime") Double insertTime, @Param("packageType") Short packageType);
    //xml里还没有实现
    List<Summary> getSquareSummary(@Param("dr_latitude") int dr_latitude,@Param("dr_longitude") int dr_longitude,@Param("ul_latitude") int ul_latitude,@Param("ul_longitude") int ul_longitude);
}